package com.java.second_goods.entity.vo;

import com.java.second_goods.entity.Goods;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商品数据传输对象，扩展了商品实体，添加了卖家信息
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GoodsDTO extends Goods {
    private static final long serialVersionUID = 1L;

    /** 卖家用户名 */
    private String sellerName;

    /** 卖家头像 */
    private String sellerAvatar;
}